package cn.zhx.decorator.demo;

//被装饰者
public class FriedNoodles extends FastFood{
    public FriedNoodles() {
        super(10,"炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
